#ifndef NNCLASSIFIER_H
#define	NNCLASSIFIER_H

#include "RLcommon.h"
#include "libNN.h"
#include "mclcppclass.h"
#include <list>

using namespace std; 


#define	NNData	std::pair<Observation, double>

class NNClassifier
{
public:
	NNClassifier(int dim); 
	~NNClassifier(); 

	void init(); 
	void train(list<NNData>& l); 
	double query(Observation); 

public:
	bool isInitialized;
	bool isTrained; 
	int dimension; 
};


#endif

